<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>AdminLTE 2 | form</title>

</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <header-compent></header-compent>

  <nav-menu></nav-menu>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper" style="min-height: 900px;">

    <!-- Main content -->
    <section class="content">
      <div class="row">

        <div class="col-md-12">

          <!-- general form elements disabled -->
          <div class="box box-warning">
            <div class="box-header with-border">
              <h3 class="box-title">编辑菜单</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <form role="form" (ngSubmit)="save(menu.id)" #userForm="ngForm">


                <div class="form-group">
                  <label>菜单label</label>
                  <input type="text" [(ngModel)]="menu.label" name="menu.label"  class="form-control" placeholder="Enter ...">
                </div>

                <div class="form-group">
                  <label>类型</label>
                  <input type="number" [(ngModel)]="menu.type" name="menu.type" class="form-control"
                         placeholder="Enter ...">
                </div>

                <div class="form-group">
                  <label>url</label>
                  <input type="text" [(ngModel)]="menu.url" name="menu.url"  class="form-control" placeholder="Enter ...">
                </div>

                <div class="form-group">
                  <label>样式</label>
                  <input type="text" [(ngModel)]="menu.style" name="menu.style" class="form-control"
                         placeholder="Enter ...">
                </div>

                <div class="form-group">
                  <label>排序</label>
                  <input type="number" [(ngModel)]="menu.order" name="menu.order" class="form-control" placeholder="Enter ...">
                </div>

                <div class="box-footer">
                  <button type="submit" class="btn btn-primary">Submit</button>
                </div>
              </form>
            </div>
            <!-- /.box-body -->

          </div>
          <!-- /.box -->
        </div>
        <!--/.col (right) -->
      </div>
      <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <footer-compent></footer-compent>
</div>
<!-- ./wrapper -->



</body>
</html>
